﻿using System.Collections.Generic;
using static Dm.net.buffer.ByteArrayBuffer;
using static LH.Models.APAR.Api_APVouch;

namespace LH.Model.PU
{
    //宁波恒富  报检
    public class NBHF_BaoJian
    {
 
 

        //入库单号
        public string billno { get; set; }
        //入库日期
        public string billdate { get; set; }
        //供应商
        public NBHF_Suppiler Supplier { get; set; }

        public NBHF_User User { get; set; }

        public List<NBHF_BaoJianBody> details { get; set; }

      
    }
    public class NBHF_BaoJianBody
    {
        //新增时Id为0，会返回自增的Id
        public int id { get; set; }

        //物料
        public NBHF_Material material { get; set; }
        //数量
        public decimal qty { get; set; }
        //批次
        public string batchno { get; set; }

        public string supplierbatchno { get; set; }
        //仓库
        public NBHF_Material warehouse { get; set; }
    }
    public class NBHF_Material
    {
        public string Code { get; set; }
    }

    //01  无需质检 02 待质检 03 质检未通过 04 质检已通过 
    public class QualityStatus
    {
        public string Code { get; set; }
    }
    

    public class NBHF_Suppiler
    {
        public string code { get; set; }
    }

    //用户
    public class NBHF_User
    {
        public string Account { get; set; }
    }

}
